import { WebPlugin } from '@capacitor/core';

import type {
  GeYanPlugin,
  PreLoginOption,
  PreLoginResult,
} from './definitions';

export class GeYanWeb extends WebPlugin implements GeYanPlugin {
  async init(): Promise<boolean> {
    return false;
  }
  async preLogin(option: PreLoginOption): Promise<PreLoginResult | null> {
    if (option) {
      return null;
    }
    return null;
  }
}
